<div style="background-color:#ffffee">

	<?php if ($pager->getResults()): ?>

		<?php if (isset($tmpl_header)): ?>
			<?php include_partial('Lister/tmpls/'.$tmpl_header) ?>	
		<?php endif; ?>
		
		    <?php foreach ($pager->getResults() as $v): ?>
				<?php include_partial('Lister/tmpls/'.$tmpl_name, array('v'=>$v)) ?>
	    	<?php endforeach; ?>
	
		<?php if (!isset($show_pager) or $show_pager!=false): ?>
		    <?php include_partial('Lister/pager', array('pager'=>$pager)) ?>
		<?php endif; ?>
		
		
		<?php if (isset($tmpl_footer)): ?>
			<?php include_partial('Lister/tmpls/'.$tmpl_footer) ?>	
		<?php endif; ?>
	
	<?php endif; ?>
	
</div>